package com.lu.model.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description: 审批流程提交请求
 * @Author: zhanglu
 * @Date: 2022/8/1 11:42
 */
@Data
public class ProcessApprovalSubmitRequest {

  /**
   * 配置id
   */
  @NotNull(message = "请输入审批配置")
  private Long configId;
  /**
   * tableName表
   */
  @NotEmpty(message = "请输入配置id")
  private String tableName;
  /**
   * 对象id
   */
  @NotNull(message = "请输入业务对象")
  private Long objId;
  /**
   * @see com.lu.model.enums.YesOrNoEnum
   */
  @NotNull(message = "请输入审核状态")
  private Integer status;
  /**
   * 建议
   */
  private String description;

}
